export const state = () => ({

	xxNum: 3,
	indexNum:1,
	recruitScrollY: 0,
	recruitScrollY1: 0,
	sendMsg: '',
	catalogListUrl: '',
})

export const mutations = {
	tab(state, index) {
		state.tabIndex = index;
	},
	changeIndexNum(state, indexNum){
		state.indexNum = indexNum
	},
	changeCatalogListUrl(state, catalogListUrl){
		state.catalogListUrl = catalogListUrl
	},
	changexxNum(state, xxNum) {
		state.xxNum = xxNum
	},
	changeRecruitScrollY(state, recruitScrollY) {
		state.recruitScrollY = recruitScrollY
	},
	changeRecruitScrollY1(state, recruitScrollY1) {
		state.recruitScrollY1 = recruitScrollY1
	},
	changeSendMsg(state, sendMsg) {
		state.sendMsg = sendMsg
	}
}

export const getters = {
	sendMsg(states) {
		return states.sendMsg;
	},
	catalogListUrl(states) {
		return states.catalogListUrl;
	},
	recruitScrollY(states) {
		return states.recruitScrollY;
	},
	recruitScrollY1(states) {
		return states.recruitScrollY1;
	},
	xxNum(states) {
		return states.xxNum;
	},
	indexNum(states) {
		return states.indexNum;
	}
	
	// 		recruitScrollY:state => state.recruitScrollY,
	// 		recruitScrollY1:state => state.recruitScrollY1
}
